The result set from a Less Than Or Equal join includes all records in which the linked field value in the primary table is less than or equal to the linked field value in the lookup table. The example here is identical to the example for the Less Than join, except that it uses the Less Than Or Equal join:
SELECT Manager.'Last Name', Manager.'Salary', SalesRep.'Last Name', SalesRep.'Salary' FROM 'Manager' Manager', SalesRep' SalesRep WHERE Manager.'Salary' <= SalesRep.'Salary'
This SQL statement produces data similar to the following:
Manager Table | Manager Table | SalesRep Table | SalesRep Table |
---|---|---|---|
Last Name | Salary | Last Name | Salary |
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |